package org.nf.trading.dao;

import org.nf.trading.entity.UserCircle;

import java.util.List;


public interface UserCircleMapper {

    /**
     * 通过用户id查询全部用户加入的圈子，只做List循环查询
     * @param uid
     * @return
     */
    List<UserCircle> listUserCircleByUId(Integer uid);

    int deleteByPrimaryKey(Integer userCircle);

    int insert(UserCircle record);

    UserCircle selectByPrimaryKey(Integer userCircle);

    List<UserCircle> selectAll();

    int updateByPrimaryKey(UserCircle record);
}